package com.computergames.server.message;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class ErrorResponseMessage extends AbstractResponseMessage<String>{
    public ErrorResponseMessage() {
        super(false, null);
    }

    public ErrorResponseMessage(String reason) {
        super(false, reason);
    }

    @Override
    public int getMessageType() {
        return ErrorResponseMessage;
    }
}
